package com.example.leetcode.array;

import com.example.leetcode.array.common.ArrayUtils;

import java.util.List;

class Solution18 {
    public List<List<Integer>> fourSum(int[] nums, int target) {
        return ArrayUtils.fourSum(nums, target);
    }
}

public class leetcode18 {
    public static void main(String[] args) {
        Solution18 solution18 = new Solution18();
        int[] nums = {1, 0, -1, 0, -2, 2};
        int target = 0;

        int[] nums1 = {1000000000, 1000000000, 1000000000, 1000000000};
        int target1 = -294967296;
//        System.out.println(solution18.fourSum(nums, target));
        System.out.println(solution18.fourSum(nums1, target1));
    }
}
